package org.yty.travelagencyredis.service;

import org.yty.travelagencyredis.model.DTO.HistoryGroupMessageQueryDTO;
import org.yty.travelagencyredis.model.Entity.GroupMessage;

import java.util.List;

public interface GroupMessageService {
    void save(GroupMessage groupMessage);

    List<GroupMessage> getHistoryMessages(HistoryGroupMessageQueryDTO historyGroupMessageQueryDTO);

    List<GroupMessage> getMessages(Long chatGroupId);
}
